#pragma once

#include "fxcc/core/audio/openal/pch.h"


namespace fxcc
{
    namespace audio
    {
        namespace openal
        {
            struct FXCC_API World
            {
                ALCdevice* m_Device{ 0 };

                ALCcontext* m_Context{ 0 };

                bool m_HasLoad{ false };

                World();

                void Destroy();

                bool Init();

                bool TryInit();

                ~World();

                static World& Inst();


            };
        }
    }
}